
import 'package:flutter/material.dart';
import 'package:home/login/login_page.dart';
import 'package:home/login/register_page.dart';
import 'package:home/page/home/home.dart';

class StationRouter{

  static final GlobalKey<NavigatorState> navigatorKey = new GlobalKey<NavigatorState>();
  /// 登录页面
  static const String login = "login";
  ///首页页面
  static const String home = "home";
  ///注册页面
  static const String register = "register";


   static final routers = {
     login: (context) => const LoginPage(),
     home: (context) => const HomePage(),
     register: (context) => const RegisterPage(),
   };
}